028 understanding comparator operators greater less equal
好的,在这个视频中您将了解竞争对手的操作。
OK in this video you will understand competitor operations.
因此,我们有一些执行 a 的战斗指令足以使用相同的数据类型。
So we have some combat instructions which perform a is enough to use the same data types.
因此,如果您立即理解比较这个词,它就会变成大约等于大于小于。
So if you understand the word comparison immediately it comes to about equal into greater than less than.
所以我们在 712 Heinrichs 中有一些操作员。
So we have some operators in 712 Heinrichs.
那么让我们看看这里还有哪些其他不同的运算符。
So let's see what other different operators we have here.
所以将从平等开始。
So will start with equal.
因此,对于 equal ,我们内部有双重 equal 。
So with equal we have double equal inside.
好吧,这与我们在 C++ 中使用的类似,也是更紧凑的操作。
Okay this is similar to what we use in C++ this is equal compacter operations.
那么我们还没有平等进入。
Then we have not equal into.
这比一起聆听更伟大。
This is a greater than listen together.
那么你有更大或等于。
Then you have greater or equal.
所以它有一个伟大的设计以及等号小于或等于或小于线和等于洞察力大于然后才好。
So it has a great design along with an equal sign less or equal or less line and equal insight greater then only good then.
那么你的独立值小于范围内的值,这意味着值在一定范围内。
Then you have standalone less then than you have in range which means a value within certain range.
那么你的值就超出了范围。
Then you have outrange value outside a range.
好的,让我们看一些如何使用它的例子。
Ok so lets see some examples how we can use that.
因此,我们有一个带有 PV S-10 的 Gounder 示例,默认情况下我们有 S10,它表示在这个示例中使用所有的战斗人员和干员。
So we have an example of Gounder with PV S-10 we have by default S10 and it says utilize all the combatives and operators in this example.
所以我们有一个Gounder。
So we have a Gounder.
因此,让我们开始第一个战斗格,并说等于。
So lets have the first combatives and say is equal to.
因此,您可以注意到,这是一个同等的战斗区域。
So this is an equal under combatives area you can notice.
请注意这里的符号,因为您不会在其中找到等于,并且在此命令中,但您必须注意该符号,这是一个等于比较运算符。
Notice the symbol here because you will not find equal in it and on this on this command but you have to notice with the symbol that this is double equal inside this is an equal comparison operator.
因此,这将比较我的 Gounder Nazi,这意味着这里的值将与常数 5 进行比较。
So this will compare my Gounder Nazi which means the value here will be compared with a constant five.
好的。
OK.
现在这不是一般规则。
Now this is not a general rule.
好吧,这里有五个柜台,你也可以,你也可以移动卡,你也可以擦拭它,你也可以在这里有地址而不是枪,因为你可以有一个地址,或者你可以把内容放在顶部,然后把它放在底部。
All right counters here and five here you can also you can also shift card you can also swab that and you can also have address here instead of a gun since you can have an address or you can put content on the top and put it at the bottom.
它没有任何区别,因为它是一个等号。
It doesn't make any difference because it is an equal sign.
好的,所以我们可以说,战斗的价值是,对应的 Dotsie 等于另一个战斗,它是 5。
OK so this come and say as if the combate is in value which is a counterpart Dotsie is equal to another combatives and it is five.
那么这个输出就会消失。
Then this output will be gone.
这就是它的意思。
This is what it means.
下一个命令说不等于。
The next command say is not equal to.
因此,如果该计数器值不等于 5,则该选项将打开。
So if this counter value is not equal to 5 then this option will be on.
解释完后我们将进行现场演示。
We'll have a live demonstration after this explanation.
那你也曾在英格兰踢过球。
Then you have played in England too.
所以如果这个值等于5或者大于5那么这个和100不下注就OK了。
So if this value is equal to 5 or greater than 5 then this And 100 to not bet will be on OK.
我们今天正在将所有康塔多与所有常数进行比较。
We are comparing all this Contador today with all the constants.
例如,我们有小于等于二的数。
For example then we have less than equal in two.
因此,如果这个值小于或等于 5,那么我们就进行这个赌注。
So if this value is less than or equal to 5 then this bet we would be on.
同样,我们有超过五个。
Similarly we have greater than five.
所以这个值如果是六七八九十那么这个赌注就OK了。
So this value if it is six seven eight nine ten then this bet will be on OK.
所以我们到处监控 C-v。
So we are monitoring the C-v everywhere.
好的。
OK.
这里它比现在的范围要小,因为有时使逻辑变得非常容易。
Here it is less then than you have in range now in range as it were sometime makes logic very easy.
所以你有一个范围。
So you have a range.
这是常数三和七。
This is a constant three and seven.
因此,Gounder 的值要么是 3,要么在 3 到 7 的范围内,那么如果它是 3 4 5 6 7,则该输出将为 2。
So the value of Gounder is either three or in the range of three and seven then this output will be on two if it is three four five six seven.
在这一切瞬间,输出将打开。
And all this instant the output will be on.
好的。
OK.
所以这是来自你超出范围的范围。
So this was coming from the range that you have out of range.
因此,如果这个值不在这个范围内,那么 Truby 的值可能是 0 1 2 是 8 9 10 或 on,那么本文将继续。
So if this value is not in this range what Truby that value it could be 0 1 2 are 8 9 10 or be on then this article will be on.
好的,让我们在我们的软件中尝试一下,以了解这种比较。
OK so let's try this in our software to understand this comparison.
所以我将使用基本的 Gounder CDU 和这个标志,并且我必须在这里使用各种运算符。
So I'm going to use a basic Gounder CDU and this sign and I have to use various operators here.
所以我将开始我作为一个经营者的第一次战斗,等于容忍税收。
So I will start my first combat as an operator which is equal to to tolerate the tax.
所以这里我可以在这里写下常数五。
So here I can write the constant five here.
我将使用我的索引简历。
I will use my index CV.
好的,这是来自锣,完成了将其删除及其简历。
OK so this is coming from gong to have done the take it down and its CV.
好的,这将与五个进行比较。
OK so this will be compared with five.
因此,如果这两个相等并且有一个输出,我可以采用该输出来获取内存,例如。
So if these two are equal and have an output which I can take on taking a memory that just for example.
因此,如果我尝试下载此逻辑,您就可以看到结果。
So if I try that I can download this logic and you can see results.
是的,这将会是好的。
Is and this is going to be on all right.
所以最初的值是 0 6 5,这一切都结束了,我们将其更改为 10 并再次下载。
So initially the values 0 6 5 and this is over and we change this to maybe do 10 and download it again.
哦,好吧,就是这样。
Oh well that's.
好的。
All right.
我的意思是我们刚刚下载了所有 Peavey's 10。
And I mean we just downloaded all this Peavey's 10.
因此,无论 VOD 上的内容是什么,都等于 10,但这比选票上的要好。
So this whatever would be on the VOD is equal to 10 but that's better than being on the ballot.
他会因为和我的比较而打架吗?
Is he going to fight because of this comparison to mine.
因此,在不使用任何其他 Gallanter 的情况下,我们正在监控该柜台上的 Galant。
So without using any other Gallanter we are monitoring the Galant off this counter.
如果这个神要进入五个,我们就会有另一个神。
If this god is going into five we have another all would on.
所以这保存了我的日历,因为我使用的不是战斗,而且我正在从本季度提取正文。
So this saved my calendar because I'm using combate isn't and I'm extracting the body from this quarter.
好的,让我打开我的输入。
OK so let me just turn on my input.
所以这是一二三四五五。
So this is one two three four five and five.
这是真实的。
This is true.
我的赌注是一百。
And my bet is on one hundred.
当它达到六时,这将关闭,因为逻辑中的战斗是错误的。
And when it goes to six this will be off because the combatives in logic is false.
所以这不是我平常的广告,我会把它贴上的。
So this is off an ad in my normal I'll put it on.
好的。
OK.
这重置了这个。
This reset this one.
因此,只有当该值等于 5 时,这一分钟才处于活动状态。
So this minute to be active only if the value is equal to 5.
同样,我可以编写更多比较命令,这不等于我可以使用中洲向下进入我的新它即将进入不等于5。
Similarly I can write more comparison Command this is not equal to I can use Mid-Continent down into my new it's going into is not equal to 5.
然后我将另一个放大,即 100 和 1。
Then another I'll put it zoomin which is 100 and 1.
因此,我将暂停该视频以完成逻辑,然后它会回来,以便节省您的时间。
So I'm going to pause this video complete the logic and it come back so that it will save your time.
好的。
OK.
好的。
All right.
所以我的逻辑现在已经完整了。
So my logic is complete now.
你可以看到我已经将它与一个运算符一起使用,该运算符说等于,这不等于,然后这个大于等于,然后两个集合小于等于,并说大于小于这个在范围内和超出范围。
And you can see that I have used it with an operator that says equal and this is not equal then this one is greater than equal then two sets less than equal and says greater than less than this is in range and outrange.
所以我在这里按顺序使用了所有这些位。
So I've used all these bits here in sequence.
因此,让我们降低这个逻辑并进行试验,因为我没有那么多输出,所以我在它所寻址的输出存储器中使用这个存储器位。
So let's downard this logic and have a trial because I don't have so many outputs so I'm using this memory bits in the output memory it addresses.
您还可以使用输出。
You can also use outputs.
由你决定。
It's up to you.
因此,当进入他的区域时,最初我的价值为零。
So when entering his zone and Initially my value is zero.
好的。
OK.
因此,如果是 c,让我们看看哪一张床在上面。
So if it is c Let's see which one of the beds that are on.
所以这张床在这张床上,因为它看到值不等于 5。
So this bed is on this bed is on because it sees the value is not equal to 5.
它不会进入五个。
It is not going into five.
所以这一切都是真的。
So this is all just true.
并且该位在其上且该值小于等于 Fife 的 ETOH 小于等于五。
And this bit is on its it and the value is less than equal into Fife's was ETOH is less than equal to five.
这就是为什么这个赌注是这样的,为什么这个赌注是这个值小于等于小于 5 0 和 5。
That's why this bet is on and why this bet is on this value is less than equal to less than 5 0 and 5.
这就是为什么当处于范围关闭且愤怒开启时,因为奇怪的超出了 3 和 7 的范围。
That's why this is and when in ranges off and outrage is on because the Strange's is out of the range of 3 and 7.
这就是这个位开启的原因。
That's why this bit is on.
所以让我们把这个值现在状态决定为5。
So let's take this value to the state decided to five now.
好的。
OK.
所以当你读到的时候我会去找因克曼。
So I'm going to Inkerman that when you read.
让我们把它改为四。
Let's take it to four.
我们注入的价值低于价值。
We inject less than value.
所以如果是 for 不等于 则发现 this is off 不等于 5。
So if it is for does not equal to find this is off that is not equal to 5.
这就是为什么这是真的。
And that's why it is true.
不等于这个大于等于打这个打的不好等于5 4小于等于下火。
It is not equal into this is greater than equal to fight this is fought for is not good and equal to 5 4 is less than equal under fire.
这就是为什么这场战斗是为以色列而战,然后是五场。
That's why this fight is on for Israel and then five.
那是假的。
That's false.
对于少于五个来说这是错误的。
This is false for less than five.
现在在范围内也是如此。
This is true in range now.
是的,四在三到七的范围内。
Yes the four is in range of three to seven.
这就是为什么这是真的。
That's why this is true.
超出范围是错误的。
Outrange is false.
因此,让我们将此输入固定为 5。
So let's stick this input to five.
五岁我的平等指挥是真的。
At five my equal in command is true.
这就是为什么这是真的。
That's why this is true.
Gamine 因为 Fyffe 等于 5,所以它不等于 5。
Gamine as far as because Fyffe is equal to five it's not equal to five.
这就是为什么这个人四十五是好的,等于五是真的,因为我们有一个等号五小于等于五。
That's why this man is forty five is good and an equal to five that's true because we have an equal sign five less than equal under five.
这是真的。
That's true.
五百零五。
Five hundred and five.
那是假的。
That's false.
五比五还少。
Five less than five.
那是假的。
That's false.
五三是在三到七的范围内。
Five three is in the range of three to seven.
这是真的。
That's true.
它不在五到七的范围内。
It's not in the range of five to seven.
这就是原因。
That's why it's.
已经超出范围了。
It's out of range.
好的。
OK.
现在让我们来挖掘一下。
So now let's dig.
检查范围需要五到七次。
That's five to seven to check the ranges.
这是六。
This is six.
七七在三到七的范围内,这就是为什么这是真的。
And that seven seven is in the range of three to seven that's why this is true.
当我把它调到八时,这将是四。
The moment I take it to eight this will be four.
这是真的。
And this would be true.
我们现在八点检查一下。
Let's check that now at eight.
所以这是正确的,这是正确的,因为援助超出了范围,如果您注意到还有另外两位,它会大于五。
So this goes for and this is true because aid is out of the range and if you notice there two other bits it is greater than five.
这是真的,八大于等于五。
This is true and eight is greater than equal into five.
这又是两个。
This is again two.
五以下不等于。
It is not equal under five.
这是真实的。
This is true.
所以你可以理解为我们用了认真的竞争对手操作来对比反涨和恒涨。
So you can understand that we have used serious competitor operations to compare the counter-rally with the constant.
正如我之前所说,您还可以比较这个常量、这个有价值的地址和其他地址,您可以将它与计数器进行比较,您可以比较这两个值是否正确。
And as I said before you can also compare this constant this valuable and other address you can compare it to counters you can compare the two values if they are true or not.
所以你必须让传送带运行,你有传感器,如果物体相等并且你希望发生一些事情,你就对物体进行计数。
So you have to conveyers running and you have sensors and you're counting the objects if the objects are equal and you want something to happen.
所以你可以拿两个柜台,你可以把它们带到这里就足够了。
So you can take two counters you can take them is enough one go here.
战斗就够了。
Combat is enough.
另一个去这里,如果它的值相等,那么你可以启动迫击炮或推动器或任何你想要的物体。
Another go to here and if the value of it is equal then you can actuate a mortar or a pusher or any object you want.
这就是该过程的应用。
So this is the application of that process.
好的。
OK.
那么让我们回到演示我们所看到的这些是最伟大的竞争对手的业务。
So let's go back to presentation what we have seen these are the greatest competitor operations.
好的。
OK.
从理论上讲,这就是它的样子。
Now in theory this is how it looks like.
这是一个计数器,表示平等,您是否有这些平等和 TSA,这个符号在每种语言中都是平等的。
This is a counter and for equal and do you have these equal and TSAs this sign is equal in every language.
好的。
OK.
在 FBD 中的字母或 SD 中这非常相似。
In FBD in letter or in SD This is pretty much similar.
那么你就没有等于大于或等于小于或等于或大于小于在范围内超出范围。
Then you have not equal into greater or equal less or equal or greater than less than in range in outrange.
这是莫辛格。
This is Motsinger.
因此,如果你放弃这一课,你就会知道,如果一等于二,那么等于战斗是正确的。
So to give you up this lesson would you have known equaling the combatives it is true if one is equal into two.
如果这两个输入不等于编译器,那么它是真的,如果 I 并且它不等于 I 并且对于战斗来说它是真的。
If these two inputs are not equal to the compiler then it's true is if I and it's not equal to I and to the combatted it is true.
如果我在分离器中,那么就等于我进入这个,这是非常基本的。
If I in a splitter then are equal to I into this is this is very basic.
如果我的意思是它小于或等于 I 到几乎相同大于击球手,则比较是正确的。
The comparison is true if I mean it's less than or equal to I into pretty much the same greater than the batter than is true.
如果我赢了就比我能做的更伟大。
If I win is greater than I can do.
这些是非常基本的运算符,正如他所说的 7300 个。
So these are the very basic operators which for using as he said 73 hundred.
感谢您的投票,如果您需要此演示文稿,您可以在课程中找到它,我们将在下一个视频中见到您。
So thank you for voting if you need this presentation you will find it in the course and I'll see you in the next video.